export type AiConfigPayloadType = "CreateAiConfig" | "UpdateAiConfig" | "OperateAiConfig"

export type AiConfig = {
    id?: string;
    baseUrl: string;
    apiKey?: string;
    temperature?: number;
    topP?: number;
    model: string;
    currentUse?: 0 | 1;
    kind: 'ollama' | 'openai';
    name: string;
}

export type AiState = {
    list: AiConfig[];
    loading: boolean;
}